package com.zhaoye.controller;

import com.zhaoye.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author feng
 * @Date 2021/11/18 15:09
 */
@RestController
public class SendMessageController {

  @Resource
  private IMessageProvider messageProvider;

  @GetMapping(value = "/sendMessage")
  public String senfMessage(){
      return  messageProvider.send();
  }

}
